package cn.myframe.service.sys;


import cn.myframe.entity.sys.SysUserInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 系统用户信息
 * 
 * @author ynz
 * @email ynz@myframe.cn
 * @date 2017-05-24 09:15:06
 */
public interface SysUserInfoService {
	
	SysUserInfoEntity queryObject(Long id) throws Exception;
	
	List<SysUserInfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysUserInfoEntity sysUserInfo) throws Exception;
	
	void update(SysUserInfoEntity sysUserInfo) throws Exception;
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
	
	List<SysUserInfoEntity> queryByAppId(String appid) throws Exception;
	
	boolean checkExist(String id,String appid);

    SysUserInfoEntity queryByCompanyNo(Long companyNo);

	List<SysUserInfoEntity> queryLists();

	void updateInfo(SysUserInfoEntity sysUserInfoEntity);

	SysUserInfoEntity selectById(Long id);
}
